//
//  CheckViewController.m
//  AntsExpress
//
//  Created by slccper on 16/1/2.
//  Copyright © 2016年 slccper. All rights reserved.
//

#import "CheckViewController.h"

@interface CheckViewController ()<UITableViewDataSource,UITableViewDelegate>
{
    NSMutableArray *_list;
}
@property (nonatomic,strong)UITableView *tableView;
@end

@implementation CheckViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.tableView = [[UITableView alloc]initWithFrame:self.view.bounds];
    self.tableView.dataSource = self;
    self.tableView.delegate = self;
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

#pragma mark - tableView delegate
-(NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    return 1;
}

-(NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    //    TvGroup *Group = _WebData[section];
    //    NSInteger count = Group.isOpened ? Group.childChannel.count : 0;
    return _list;
}

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return  60;
}

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *cellIdentifier = @"StationCell";
    //    StationCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier];
    //    if (cell == nil) {
    //        cell =  [[[NSBundle mainBundle] loadNibNamed:@"StationCell" owner:self options:nil] lastObject];
    //        cell.selectionStyle = UITableViewCellSelectionStyleNone;
    //    }
    //    TvGroup *Group = _WebData[indexPath.section];
    //    Station *station = Group.childChannel[indexPath.row];
    //    [cell setGroupStationObject:station];
    return nil;
}

@end
